﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.Common.IDao
{
    public interface ICreateDao<T>: IDataCoreAccessObject<T> where T : class, new()
    {
        int Insert(T t);
        int Insert(List<T> entities);

        int Insert<TEntity>(TEntity t) where TEntity : class, new();
        int Insert<TEntity>(List<TEntity> entities) where TEntity : class, new();
    }
}
